<?php /* Smarty version Smarty-3.0.9, created on 2013-12-04 15:50:07
         compiled from "templates\lateral.tpl" */ ?>
<?php /*%%SmartyHeaderCode:27689529f411fdaab73-93641907%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd4590b9c09c03ed88131b0218fd3060e0be63233' => 
    array (
      0 => 'templates\\lateral.tpl',
      1 => 1386168267,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '27689529f411fdaab73-93641907',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!-- <?php if (isset($_SESSION['usuario'])&&$_GET['option']!='logout'){?>
    <div class="square sqlogin">
    <table cellspacing="10"><tr><td class="font-white" align="center">
    <b>Welcome <?php echo $_SESSION['usuario']['nombre'];?>
</b><br /><br /><img src="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_global'];?>
images/admin.png" /><br /><br />
    <button onClick="location.href='<?php echo $_smarty_tpl->getVariable('gvar')->value['l_index'];?>
?option=logout'"><?php echo $_smarty_tpl->getVariable('gvar')->value['n_logout'];?>
</button>
    </td></tr></table>
    </div>
<?php }else{ ?>   
    <form action="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_index'];?>
?option=login" method="post" name="login">
    <div class="square sqlogin">
    <table cellspacing="10"><tr><td class="font-white" align="center">
    <b><a name="login"><?php echo $_smarty_tpl->getVariable('gvar')->value['n_login'];?>
</a></b><br /><br />
    <b>User:</b><br> <input size="18" name="usuario" required="required" type="text"><br />
    <b>Password:</b><br> <input size="18" name="password" required="required" type="password"><br /><br />
    <input value="Login" type="submit" />
    </td></tr></table>
    </div>
    </form>
<?php }?>
<br />-->

<!--<table class="left" cellpadding="0" cellspacing="0">
<tr><td align="left" valign="middle"> -->
<?php if (isset($_SESSION['usuario'])&&$_GET['option']!='logout'){?>
<div class="dropup">
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" id="menuLateral">
    <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_index'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_index'];?>
</a></li>
    <li class="dropdown-submenu"><a ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_update'];?>
</a>
       <ul class="dropdown-menu">
           <?php if ($_SESSION['usuario']['tipo']=='lider'){?>
            <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_updateStart'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_updateStart'];?>
</a></li>
            <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_finalizar_kernel'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_finalizar_kernel'];?>
</a></li>
            <?php }?>
            <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_updateDownload'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_updateDownload'];?>
</a></li>
        </ul>
    </li>
    <?php if ($_SESSION['usuario']['tipo']=='lider'){?>
        <li class="dropdown-submenu"><a ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_module'];?>
</a>
            <ul class="dropdown-menu">
                <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_moduleInclude'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_moduleInclude'];?>
</a></li>
                <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_crear_modulo'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_crear_modulo'];?>
</a></li>
            </ul>
        </li>
    <?php }?>
    
  
    
    <?php if ($_SESSION['usuario']['tipo']=='programador'||$_SESSION['usuario']['tipo']=='intermediario'||$_SESSION['usuario']['tipo']=='lider'){?>
    <li class="dropdown-submenu"><a ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_program'];?>
</a>
        <ul class="dropdown-menu">
             <?php if ($_SESSION['usuario']['tipo']=='programador'||$_SESSION['usuario']['tipo']=='intermediario'||$_SESSION['usuario']['tipo']=='lider'){?>
            <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_crear_programa'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_crear_programa'];?>
</a></li>
            <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_editar_programa'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_editar_programa'];?>
</a></li>
            <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_programSend'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_programSend'];?>
</a></li>
            <?php }?>
             <?php if ($_SESSION['usuario']['tipo']=='intermediario'){?>
            <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_programVerify'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_programVerify'];?>
</a></li>
            <?php }?>
            <?php if ($_SESSION['usuario']['tipo']=='lider'){?>
            <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_ingresar_programa_a_modulo'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_ingresar_programa_a_modulo'];?>
</a></li>
            <?php }?>
        </ul>
    </li>
    <?php }?>
     <li class="dropdown-submenu"><a ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_request'];?>
</a>
         <ul class="dropdown-menu">
            <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_enviar_peticion'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_enviar_peticion'];?>
</a></li>
            <?php if ($_SESSION['usuario']['tipo']=='programador'||$_SESSION['usuario']['tipo']=='intermediario'||$_SESSION['usuario']['tipo']=='lider'){?>
            <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_revisar_peticion'];?>
" ><?php echo $_smarty_tpl->getVariable('gvar')->value['n_revisar_peticion'];?>
</a></li>
            <?php }?>
         </ul>
     </li>
    <li><a href="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_contact'];?>
" class=""><?php echo $_smarty_tpl->getVariable('gvar')->value['n_contact'];?>
</a></li>
</ul>
</div>
<?php }?>

<!--</td></tr></table>-->